package day02_oop_code.com.itheima.d7_abstract_demo2;

public class Test {
    public static void main(String[] args) {
        Student student = new Student();
        student.write();
        System.out.println("----------------------");

        Teacher teacher = new Teacher();
        teacher.write();
    }
}
